package com.yf.ability.face.provides.baidu.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class BaiduFaceSearchResponse implements Serializable {

    private Result result;
    private String logId;
    private String errorMsg;
    private Integer cached;
    private Integer errorCode;
    private Long timestamp;

    @Data
    public static class Result{
        private String faceToken;
        private List<User> userList;
    }

    @Data
    public static class User{
        private BigDecimal score;
        private String groupId;
        private String userId;
        private String userInfo;
    }
}
